package com.xin.usermanagebackend.common;

import lombok.Data;

import java.io.Serializable;

@Data
public class BaseResponse<T> implements Serializable {
    private Integer code;
    private  T Data;
    private String message;

    public BaseResponse(Integer code, T data, String message) {
        this.code = code;
        Data = data;
        this.message = message;
    }
    private static final long serialVersionUID = 1L;
}
